<template>
  <div id="app">
    <router-view/>
  </div>
</template>


<script>

import { isUpgradeBrowser } from '@/util/util'

export default {
  name: 'App',
  mounted() {
    const {isUpdate, browser, versions, lowestVersions = ''} = isUpgradeBrowser()
    if (isUpdate) {
      alert(`您当前${ browser }浏览器版本过低(版本${ versions }),建议访问网页不低于${ lowestVersions }版本,如果出现不能访问页面情况,请您升级浏览器版本在尝试!`)
    }


  }
}
</script>

<style>

#app {
  width: 100%;
  height: 100%;
  font-family: -PingFangSC-Regular, "PingFang SC", apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Sans GB",
  "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif;
}
</style>
